﻿// Copyright (c) Toni Solarin-Sodara
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

using System;
using Coverlet.Core.Abstractions;

namespace Coverlet.Core.Helpers
{
  internal class ProcessExitHandler : IProcessExitHandler
  {
    public void Add(EventHandler handler)
    {
      AppDomain.CurrentDomain.ProcessExit += handler;
    }
  }
}
